package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModAplic extends ModuleNavigator {
    
    public ModAplic() {
        
        setGlobalName("ZTEST.MOD_APLIC");
        setInitialService(CadAplicativoOperacao.class, "QUERY");
        
        addNavigation((new ServiceNavigation())
                .id("20701351")
                .name("MASTER")
                .label("Aplicativos de operação")
                .destination(CadAplicativoOperacao.class)
                .feature("VIEW")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("20701362")
                .name("PROCS_APLIC")
                .label("Processos (etapas)")
                .destination(CadProcessoAplicativo.class)
                .feature("LIST")
                .parameterName("P_ID_APLICATIVO_OPERACAO")
                );
        addNavigation((new ServiceNavigation())
                .id("20815442")
                .name("VARV_APLIC")
                .label("Variáveis do aplicativo")
                .destination(CadVariavelAplicativo.class)
                .feature("LIST")
                .parameterName("P_ID_APLICATIVO_OPERACAO")
                );
    }
}
